package com.zs.zcerp.entrance.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("AH_HOLIDAY")
public class AhHoliday {

    // EMPNO
    @TableField(exist = false)
    @JSONField(name="emp_id")
    private String empId;

    @TableField("EMP_NO")
    @JSONField(name="emp_code")
    private String empCode;

    @TableField("ORG_ID")
    @JSONField(name="org_id")
    private Integer orgId;

    @TableField("HOLIDAY_ID")
    @JSONField(name="holiday_id")
    private String holidayId;

    @TableField("DEPT_NO")
    @JSONField(name="dept_no")
    private String deptNo;

    @TableField("HOLIDAY_KIND")
    @JSONField(name="holiday_kind")
    private String holidayKind;

    @TableField("START_DATE")
    @JSONField(name="start_date")
    private Date startDate;

    @TableField("END_DATE")
    @JSONField(name="end_date")
    private Date endDate;

    @TableField("HOLIDAY_QTY")
    @JSONField(name="holiday_qty")
    private Integer holidayQty;

    @TableField("BECAUSE")
    @JSONField(name="because")
    private String because;

    @TableField("CHK_USER")
    @JSONField(name="chk_user")
    private String chkUser;

    @TableField("CHK_DATE")
    @JSONField(name="chk_date")
    private String chkDate;

    @TableField("STATUS")
    @JSONField(name="status")
    private Integer status;

    @TableField("GRT_DEPT")
    @JSONField(name="grt_dept")
    private String grtDept;

    @TableField("GRT_USER")
    @JSONField(name="grt_user")
    private String grtUser;

    @TableField("LAST_USER")
    @JSONField(name="last_user")
    private String lastUser;

    @TableField("LAST_DATE")
    @JSONField(name="last_date")
    private Date lastDate;

    @TableField("SRC")
    @JSONField(name="src")
    private String src;

    @TableField("HOLIDAY_DAYS")
    @JSONField(name="holidayDays")
    private Integer holidayDays;

}
